-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Check complib values #10341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Check complib values #10341
Conversation
Add check for complib when opening a HDFStore closes pandas-dev#4582 closes pandas-dev#8874
@@ -389,6 +389,10 @@ def __init__(self, path, mode=None, complevel=None, complib=None, | |||
except ImportError as ex: # pragma: no cover | |||
raise ImportError('HDFStore requires PyTables, "{ex}" problem importing'.format(ex=str(ex))) | |||
|
|||
if complib not in (None, 'blosc', 'bzip2', 'lzo', 'zlib'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should iterrogate the PyTables/Filters
class, as more things seem to be valid http://www.pytables.org/usersguide/libref/helper_classes.html#filtersclassdescr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but then reading over the old issue. I am not sure these blosc
compressors work (though not entirely sure why)
Using multiple compressors, e.g. |
ok that's fine, move to a class variable though |
ping when green. I am going to cut 0.16.2 soon, so this will be last one :) |
merged via 3cdd1df thanks! |
Add check for complib when opening a HDFStore
closes #4582
closes #8874